<template>
    <div class="home">
        <p>孙:{{ Car }}- {{ $attrs }}</p>
        <p>{{ money }}</p>
        <button @click="updataA(1)">花爷爷钱</button>
    </div>
</template>


<script setup lang="ts" name="Page51sun">
import { inject } from 'vue';

let Car = inject('Car')
let { money, updataA } = inject('money')
</script>

<style lang="scss" scoped></style>